package com.rran.study.designpattern.behavioral.chain.enums;

import lombok.Getter;

@Getter
public enum AttackEnums {

    ATTACK_A(1, "com.rran.study.designpattern.behavioral.chain.chain.AttackPlaceAChain", 2, true),
    ATTACK_B(2, "com.rran.study.designpattern.behavioral.chain.chain.AttackPlaceBChain", 3, false),
    ATTACK_C(3, "com.rran.study.designpattern.behavioral.chain.chain.AttackPlaceCChain", 4, false),
    ATTACK_D(4, "com.rran.study.designpattern.behavioral.chain.chain.AttackPlaceDChain", 5, false),
    ATTACK_E(5, "com.rran.study.designpattern.behavioral.chain.chain.AttackPlaceEChain", null, false),
    ;

    Integer handlerId;
    String classPath;
    Integer next;
    Boolean isHead;

    AttackEnums(Integer handlerId, String classPath, Integer next, Boolean isHead) {
        this.classPath = classPath;
        this.handlerId = handlerId;
        this.next = next;
        this.isHead = isHead;
    }
}
